﻿<UserControl
    x:Class="TheOliver.Phone.Tools.Controls.NumberPickerControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480"
    d:DesignWidth="480"
    xmlns:my="clr-namespace:TheOliver.Phone.Tools">
    <UserControl.Resources>
        <my:Formatter
            x:Key="Formatter1" />
    </UserControl.Resources>
    <Grid
        x:Name="LayoutRoot">
        <TextBlock
            x:Name="_number"
            Text="{Binding Converter={StaticResource Formatter1}, ConverterParameter=\{0:00.0\}}"
            VerticalAlignment="Stretch"
            HorizontalAlignment="Stretch"
            Tap="_number_Tap"
            Style="{StaticResource PhoneTextTitle1Style}" />
        
    </Grid>
</UserControl>
